package com.klondike.common.concurrent;

import java.util.concurrent.TimeUnit;

public interface MutuxPool<T> {

    void lockFor(T obj);

    boolean tryLockFor(T obj, long timeout, TimeUnit unit);

    void unlockFor(T obj);

    boolean isLockedFor(T obj);
}
